﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Nancy;

namespace API_Service
{
    public class ExecutionResult<T>
    {
        public bool Status { get; set; } = true;
        public string Token { get; set; } = "";
        public string Message { get; set; } = "";
        public HttpStatusCode HttpCode { get; set; } = HttpStatusCode.OK;
        public int ExecuteCount { get; set; } = -1;
        public T[] Datas { get; set; }
    }

    public class ExecutionResult
    {
        public bool Status { get; set; } = true;
        public string Token { get; set; } = "";
        public string Message { get; set; } = "";
        public HttpStatusCode HttpCode { get; set; } = HttpStatusCode.OK;
        public int ExecuteCount { get; set; } = -1;
    }
}